//
//  StatusIndicator_ShowError.swift
//  TestScroll
//
//  Created by kkkelicheng on 2021/12/6.
//

import UIKit

class StatusIndicator_ShowError: StatusIndicator_Base {
    
    var errorMsg : String
    
    init(msg:String) {
        errorMsg = msg
        super.init()
    }
    
    override func configSubviews() {
        super.configSubviews()
        statusLabel.text = errorMsg
        statusImageView.image = UIImage.init(named: "404")
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
